package cn.pegasus.teamwork.pegasus.service.impl;


import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.iyizhan.teamwork.base.service.impl.BaseServiceImpl;
import cn.iyizhan.teamwork.base.util.PageObject;
import cn.pegasus.teamwork.pegasus.entity.BussGeneralAccount;
import cn.pegasus.teamwork.pegasus.mapper.BussGeneralAccountMapper;
import cn.pegasus.teamwork.pegasus.service.BussGeneralAccountService;


/**
 * @author cyl
 * @version 
 */
@Service("bussGeneralAccountService")
public class BussGeneralAccountServiceImpl extends BaseServiceImpl<BussGeneralAccount, BussGeneralAccountMapper> implements BussGeneralAccountService {
	// 注入当前dao对象
    @Autowired
    private BussGeneralAccountMapper bussGeneralAccountMapper;

    public BussGeneralAccountServiceImpl() {
        setMapperClass(BussGeneralAccountMapper.class, BussGeneralAccount.class);
    }

	@Override
	public PageObject<BussGeneralAccount> PageList(Map<String, Object> map) {
		map.put("sortName", "create_time");
        map.put("sortOrder", "desc");
		return super.Pagequery(map);
	}
    
 
}
